$OpenBSD: patch-basic_source_runtime_methods_cxx,v 1.4 2016/03/01 21:39:58 robert Exp $
--- basic/source/runtime/methods.cxx.orig.port	Wed Jan 27 01:58:25 2016
+++ basic/source/runtime/methods.cxx	Wed Feb 10 14:23:02 2016
@@ -84,6 +84,7 @@ using namespace com::sun::star::uno;
 #include <stdlib.h>
 #include <ctype.h>
 #include <errno.h>
+#include <unistd.h>
 
 #include "sbobjmod.hxx"
 #include "sbxmod.hxx"
